package com.cloudbroker.bcs.platform.dav.bizapi.service.viewpoint.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.common.validatioin.constants.ValidationConstants;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

import javax.validation.constraints.Size;

/**
 * Created by lnq on 2016/12/3.
 */
public class LTBRealtimeQryListForm extends HSBCPSVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    protected String sendercomp_id;
    protected String combi_code;
    protected String ltb_user_token;
    @Length(max = 32)
    private String tenant_key;

    @NotBlank
    protected String position_str;

    @NotBlank
    @IntegerString
    @Size(max = 5, message = ValidationConstants.MSG_MAXCHARLEN)
    protected String request_num;


    public String getLtb_user_token() {
        return ltb_user_token;
    }

    public void setLtb_user_token(String ltb_user_token) {
        this.ltb_user_token = ltb_user_token;
    }

    public String getSendercomp_id() {
        return sendercomp_id;
    }

    public void setSendercomp_id(String sendercomp_id) {
        this.sendercomp_id = sendercomp_id;
    }

    public String getCombi_code() {
        return combi_code;
    }

    public void setCombi_code(String combi_code) {
        this.combi_code = combi_code;
    }

    public String getTenant_key() {
        return tenant_key;
    }

    public void setTenant_key(String tenant_key) {
        this.tenant_key = tenant_key;
    }

    public String getPosition_str() {
        return position_str;
    }

    public void setPosition_str(String position_str) {
        this.position_str = position_str;
    }

    public String getRequest_num() {
        return request_num;
    }

    public void setRequest_num(String request_num) {
        this.request_num = request_num;
    }


    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("LTBRealtimeQryListForm{");
        sb.append("sendercomp_id='").append(sendercomp_id).append('\'');
        sb.append(", combi_code='").append(combi_code).append('\'');
        sb.append(", ltb_user_token='").append(ltb_user_token).append('\'');
        sb.append(", tenant_key='").append(tenant_key).append('\'');
        sb.append(", position_str='").append(position_str).append('\'');
        sb.append(", request_num='").append(request_num).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
